Platform: OpenFeint Android SDK 1.6

Readme.html for OpenFeint Android SDK 1.6
Release date 12.15.2010
Release Notes Copyright (c) 2009-2010 Aurora Feint Inc.
All Rights Reserved.

OpenFeint Android Quick Start Guide

To start developing your first OpenFeint-enabled game on Android are:
  1. Register your game on the OpenFeint developer site
  2. Build and run the OpenFeint Sample Application
  3. Get familiar with OpenFeint features in the Sample App
  4. Integrate OpenFeint into your game
  5. Add OpenFeint features to your game
  6. Work with test users
  7. Obfuscate your code with ProGuard
  8. The approval process
  9. Learn more about OpenFeint

<<Prev Next >>
 
  • Work with test users

    For information about how to use the OpenFeint test users functionality which enables user data accumulated during development and testing to be purged from the server, see http://www.openfeint.com/ofdeveloper/index.php/kb/article/000038
  • Obfuscate your code with ProGuard

    We recommend that you obfuscate your application code before release. For your convenience 'ProGuard' is integrated with our example. You should download the latest version from: http://proguard.sourceforge.net/ ProGuard integrates easily with Ant but cannot be integrated into the Eclipse build process. Reference http://developer.android.com/guide/developing/other-ide.html for help in setting up an Ant build environment.

    Once Ant is up and running you can put your copy of ProGuard in a 'proguard' subdirectory of your Android project. Be sure to copy 'proguard-config.txt' and 'proguard-obfuscation.xml' from our example application and place it in your Android project's root directory.

    Download and extract the latest version of proguard. Put it in a subdirectory named 'proguard' in the OpenFeint Android SDK's MyOpenFeintSample folder.

    Open build.xml and add the following after the first line , before the tag: ]> Which defines an XML entity and allows us to essentially import the entirety of proguard-obfuscation.xml later in the build.xml document. At some point after the task in build.xml add the following line: &proguard-obfuscation; This imports proguard-obfuscation.xml which will modify the Ant build process. Reference proguard-obfuscation.xml for a description of the modifications. If you experience any issues co-existing with Eclipse you might want to modify your local.properties file to re-direct the out.classes.dir to the same spot as Eclipse by default: out.classes.dir=bin/ .

    Building with ant debug or ant release will now obfuscate your code as part of the build process. If you wish to make a build without obfuscation for whatever reason simply set the property noobfuscate to true: ant -Dnoobfuscate=true debug ant -Dnoobfuscate=true release